package com.hutao.chargingpile.pitfall.service;


import com.hutao.chargingpile.pitfall.pojo.entity.*;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 隐患管理表 服务类
 * </p>
 *
 * @author HuTao
 * @since 2023-03-23
 */
public interface CpHiddenService extends IService<CpHidden> {

    //全查和分页   使用sql语句分页
    List<CpHidden> findAllPageHidden(Map<String, Object> map);
    //查出总条数
    Integer coutHidden(Map<String, Object> map);

    List<String> findChargingStations();

    List<CpHandleCode> findCpHandleCode();

    List<CpHandleType> getHandleType();

    List<CpRank> getRank();

    List<CpChargingpileType> chargingpile();

    boolean dealSave(CpHidden CpHidden);

}
